package template.dao;

import java.util.List;
import java.util.Set;

import template.bean.po.Permission;
import template.bean.po.PermissionExample;

public interface PermissionMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(Permission record);

    int insertSelective(Permission record);

    List<Permission> selectByExample(PermissionExample example);

    Permission selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Permission record);

    int updateByPrimaryKey(Permission record);

    Set<Permission> selectByRoleId(Integer rid);
}